package com.boolib.dao;

import com.boolib.pojo.ShopCategory;
import com.boolib.pojo.ShopCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.BaseMapper;

@Repository
public interface ShopCategoryMapper extends BaseMapper<ShopCategory> {
    long countByExample(ShopCategoryExample example);

    int deleteByExample(ShopCategoryExample example);

    List<ShopCategory> selectByExample(ShopCategoryExample example);

    int updateByExampleSelective(@Param("record") ShopCategory record, @Param("example") ShopCategoryExample example);

    int updateByExample(@Param("record") ShopCategory record, @Param("example") ShopCategoryExample example);
}